package com.amigo.online.provider.user.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;

@Table(name = "invite_code_record_tbl")
@Alias(value = "inviteCodeRecord")
public class InviteCodeRecord extends BaseEntity {

    private static final long serialVersionUID = -7088655242836451966L;

    @Column(name = "looker_user_id")
    private Long lookerUserId;

    /**
     * 邀请码
     */
    @Column(name = "code")
    private String code;

    /**
     * 0未删除，1删除
     */
    @Column(name = "deleted")
    private Integer deleted;


    public Long getLookerUserId() {
        return lookerUserId;
    }

    public void setLookerUserId(Long lookerUserId) {
        this.lookerUserId = lookerUserId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}
